package tech.anzhen.simple.rpc.support.exception;

import java.util.UUID;


@SuppressWarnings("serial")
public class BaseException extends RuntimeException {

    private String id = UUID.randomUUID().toString().replaceAll("-", "");

    public BaseException(String message, Throwable cause) {
        super(message, cause);
    }

    public BaseException(String message) {
        super(message);
    }

    public BaseException(Throwable cause) {
        super(cause);
    }

    public BaseException() {
    }

    public String getId() {
        return id;
    }

}
